package com.utils;

import org.junit.Test;

import java.util.ArrayList;
import java.util.Arrays;

public class ArrayToStr4 {

    @Test
    public void test() {
        String[] lStrArray = numStr.split(",");
        StringBuilder sb = new StringBuilder();
        for (int i = 0; i < lStrArray.length; ++i) {
            sb.append("'").append(lStrArray[i]).append("'").append(",");
            if (i > 0 && i % 50 == 0) {
                sb.append("\n");
            }
        }
        System.out.println("数量共: " + lStrArray.length);
        System.out.println(sb.subSequence(0, sb.length() - 1));

    }

    String numStr = "35434119,35434704,35433388,35434097,35435151,35433587,35433490,35433139,35434917,35435146,35436231,35433543,35434100,35436160,35435537,35436337,35433889,35434439,35435270,35435528,35433538,35433768,35434862,35436422,35434471,35434638,35435164,35436399,35435776,35434436,35433630,35434220,35432997,35434152,35434758,35436227,35434223,35435402,35434642,35433394,35435839,35434161,35435577,35433883,35435257,35432989,35433024,35435465,35434532,35436272,35434886,35435320,35435715,35436213,35436064,35434502,35435483,35435309,35434613,35436162,35433460,35435510,35434785,35435266,35433428,35436141,35434445,35434482,35435201,35435359,35433073,35433555,35434890,35434435,35435752,35433591,35433013,35435187,35433033,35434434,35435336,35435162,35435700,35435748,35436061,35434719,35434761,35433463,35436387,35435573,35433120,35434579,35433855,35436215,35436269,35434480,35435143,35436179,35435284,35434577,35436050,35433367,35432963,35435332,35433128,35434477,35435305,35433482,35433363,35435251,35436276,35434600,35433071,35435422,35433739,35434464,35435353,35434801,35434447,35433567,35434882,35434091,35433547,35435501,35435218,35435290,35434583,35435461,35433443,35436437,35436373,35433037,35433612,35436118,35435564,35434854,35435354,35433705,35435800,35434553,35435425,35436265,35434458,35435613,35435370,35435390,35433764,35434723,35435184,35435719,35434603,35433535,35435644,35436377,35435796,35433381,35433886,35433725,35435228,35436066,35434596,35436257,35435298,35436154,35434712,35435249,35436451,35434484,35434466,35436220,35434875,35433714,35435494,35436021,35436192,35434773,35434879,35433837,35436077,35435327,35433572,35434228,35432951,35436243,35436264,35436407,35434453,35435454,35435280,35434905,35436169,35434214,35435180,35433734,35436287,35434485,35436432,35433471,35435486,35433146,35435374,35435168,35436157,35435325,35433824,35434549,35435633,35436198,35436114,35435544,35434562,35436116,35433551,35436246,35435388,35434669,35433467,35434226,35434460,35435182,35434448,35434662,35436122,35434180,35435296,35433143,35436473,35434541,35433396,35433666,35433783,35435443,35436195,35436183,35433530,35435399,35436181,35432973,35434449,35434168,35436252,35433009,35434870,35434608,35435469,35435736,35434475,35435601,35434149,35436072,35433517,35434556,35436316,35434492,35434573,35434588,35436417,35433402,35434738,35434966,35436292,35435541,35433729,35434564,35434486,35434742,35434915,35433778,35435791,35436241,35434451,35434528,35433418,35434622,35436055,35432981,35436464,35433044,35434789,35434229,35434733,35434930,35434781,35436357,35432983,35434715,35434501,35434530,35434949,35433744,35435673,35434185,35435551,35435691,35434232,35435804,35435203,35435329,35433579,35435450,35434814,35436172,35434797,35436250,35433773,35435478,35433525,35434581,35433721,35435381,35435210,35436235,35434481,35433671,35435533,35435589,35434467,35434922,35433137,35434730,35433017,35435788,35433436,35436044,35435222,35436193,35434525,35435345,35434496,35433559,35435625,35436403,35434657,35433360,35436034,35436013,35435376,35433049,35434457,35434909,35436307,35434617,35434479,35434539,35435764,35433406,35434836,35434517,35435233,35435157,35433420,35434206,35434625,35436255,35434504,35434209,35435593,35435597,35433874,35435212,35435322,35434958,35436329,35433370,35435638,35434809,35434827,35434536,35436478,35436024,35434857,35435569,35435207,35433439,35433599,35434217,35433811,35436040,35436332,35432977,35435225,35435308,35435339,35435703,35433131,35434839,35433643,35435480,35433815,35436460,35434469,35436210,35433594,35434969,35435609,35435368,35436206,35435393,35435301,35435260,35436304,35435842,35434942,35436261,35433104,35434846,35435378,35434122,35436391,35435333,35435194,35436228,35435255,35433521,35433455,35433479,35435382,35436137,35433350,35436053,35433432,35435417,35433689,35435668,35434233,35433851,35434127,35435695,35436441,35435217,35434646,35436345,35435178,35434446,35434593,35434197,35435253,35434113,35433022,35434894,35436134,35433680,35434726,35435657,35436280,35436413,35433696,35436426,35436120,35435303,35436222,35436089,35436029,35433820,35436177,35434227,35434441,35435386,35435490,35433710,35433842,35434437,35433372,35433754,35436487,35434443,35435191,35436057,35435723,35435160,35435282,35436202,35435291,35435820,35434174,35436131,35433005,35435156,35435580,35433860,35435768,35435414,35433801,35434516,35436232,35434125,35435622,35435432,35435166,35435474,35433506,35435273,35433379,35436049,35435809,35436079,35433616,35433062,35434654,35435739,35434444,35434765,35434934,35436361,35435731,35435824,35433451,35435756,35433685,35433081,35436168,35435268,35436284,35433563,35434954,35436456,35436035,35434634,35435429,35435275,35436145,35435518,35433096,35435630,35436353,35433100,35433647,35433510,35436096,35435420,35435684,35435816,35433502,35436016,35436174,35433365,35435365,35436185,35436320,35433582,35434902,35434513,35435561,35435448,35433788,35434746,35433411,35433796,35434165,35435172,35434567,35434462,35433390,35436059,35433077,35436189,35434793,35436446,35434975,35435780,35434456,35433657,35434472,35435427,35434558,35434586,35435242,35434523,35434200,35433475,35435437,35435555,35435665,35436384,35435441,35436109,35432959,35436031,35434535,35434547,35434897,35434506,35434749,35434650,35436188,35432993,35435681,35436396,35433141,35435661,35435470,35434971,35434973,35435584,35435760,35435711,35435294,35434508,35436105,35433661,35436127,35435346,35433701,35436112,35434136,35434450,35434692,35434116,35436101,35433117,35433833,35433513,35436164,35434681,35434130,35435197,35433053,35433676,35435688,35433847,35436217,35434768,35435351,35434478,35435244,35435397,35436088,35434630,35435410,35434850,35434483,35434171,35435676,35434571,35435349,35436042,35436103,35433638,35433392,35435832,35434542,35434230,35433377,35433414,35435176,35435240,35435513,35436312,35434962,35434685,35433001,35435395,35434817,35436107,35434689,35433806,35435835,35434938,35434498,35436068,35433399,35434212,35433355,35434487,35436165,35434842,35435616,35434665,35434708,35433135,35434104,35434203,35435170,35435498,35435812,35433603,35434459,35435843,35435828,35435300,35434510,35435605,35435648,35435641,35435743,35436348,35434805,35434177,35433633,35432970,35434144,35434672,35434831,35435237,35435364,35434188,35435361,35433132,35433607,35433792,35436046,35436083,35434700,35435846,35434094,35436365,35435384,35435653,35435408,35436295,35433447,35433124,35436209,35434697,35434473,35435784,35434490,35436128,35436247,35436369,35432966,35434677,35436204,35436094,35434193,35433880,35435277,35436239,35435261,35433494,35435413,35434155,35435342,35436026,35436018,35433829,35436138,35433374,35436071,35433353,35434183,35435404,35435525,35436236,35435520,35433113,35434139,35435317,35436482,35434110,35436469,35434569,35434776,35436224,35434865,35434442,35434560,35435286,35433092,35433108,35435148,35435771,35433759,35433877,35435299,35435357,35434753,35433620,35433357,35436092,35436340,35436492,35436268,35436300,35433386,35433652,35436149,35435175,35436144,35433384,35436038,35433487,35434157,35435188,35434823,35433625,35434964,35433066,35435406,35434133,35433089,35433058,35436085,35435836,35435230,35434545,35436075,35434465,35435434,35435458,35435505,35433865,35434945,35434147,35435313,35434190,35434926,35436152,35433424,35434108,35433029,35435418,35435547,35434575,35434455,35433749,35434231,35433040,35433498,35434520,35435708,35434494,35434488,35433086,35432955,35435727,35436325";

}
